MimeType

fun MimeType(value: String): MimeType
fun MimeType(value: String): MimeType

Creates a new instance of MimeType with the given value.

Since

8.0.0

Parameters

value

A media type of the resource.

Throws

if value is empty or blank.